package com.example.thread.create;

import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;

/**
 * @Description @TODO
 * @Date 2025/9/2 15:23
 * @Created by weimeiling
 */
public class CallableTask implements Callable<Integer> {
    public static void main(String[] args) {
        ExecutorService service = Executors.newFixedThreadPool(10);
        Future<Integer> future = service.submit(new CallableTask());
    }

    @Override
    public Integer call() throws Exception {
        return 0;
    }
}
